QUERY PLAN
Unique (cost=520.19..520.34 rows=30 width=4)
-> Sort (cost=520.19..520.26 rows=30 width=4)
Sort Key: s.created_by
-> Nested Loop (cost=0.28..519.45 rows=30 width=4)
-> Seq Scan on tbl_reimbursement_verify_rels ccr (cost=0.00..330.45 rows=30 width=4)
Filter: (user_id = 1000)
-> Index Scan using tbl_reimbursements_pkey on tbl_reimbursements s (cost=0.28..6.30 rows=1 width=8)
Index Cond: (id = ccr.reimbursement_id)