QUERY PLAN
GroupAggregate (cost=335.68..335.88 rows=10 width=36)
Group Key: implement_record_id
-> Sort (cost=335.68..335.71 rows=10 width=9)
Sort Key: implement_record_id
-> Seq Scan on tbl_reimbursements (cost=0.00..335.52 rows=10 width=9)
Filter: ((status = ANY ('{1,2,3}'::integer[])) AND (implement_record_id = ANY ('{6181,6536,6893,6915,6973,7025,5494,5471,5495,5504}'::integer[])))