QUERY PLAN
GroupAggregate (cost=333.16..333.36 rows=10 width=36)
Group Key: implement_record_id
-> Sort (cost=333.16..333.19 rows=10 width=9)
Sort Key: implement_record_id
-> Seq Scan on tbl_reimbursements (cost=0.00..333.00 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[])))