QUERY PLAN
GroupAggregate (cost=608.85..609.21 rows=18 width=36)
Group Key: implement_record_id
-> Sort (cost=608.85..608.90 rows=18 width=9)
Sort Key: implement_record_id
-> Seq Scan on tbl_reimbursements (cost=0.00..608.48 rows=18 width=9)
Filter: ((status = ANY ('{1,2,3}'::integer[])) AND (implement_record_id = ANY ('{6181,6536,6893,6915,6973,7025,5494,7267,7317,7336,7389,5406,5467,5466,5471,5472,5495,5504}'::integer[])))