QUERY PLAN
GroupAggregate (cost=253.06..253.14 rows=4 width=36)
Group Key: implement_record_id
-> Sort (cost=253.06..253.07 rows=4 width=9)
Sort Key: implement_record_id
-> Seq Scan on tbl_reimbursements (cost=0.00..253.02 rows=4 width=9)
Filter: ((status = ANY ('{1,2,3}'::integer[])) AND (implement_record_id = ANY ('{6666,6667,6668,6669}'::integer[])))