QUERY PLAN
GroupAggregate (cost=460.54..461.31 rows=38 width=36)
Group Key: project_id
-> Sort (cost=460.54..460.64 rows=39 width=9)
Sort Key: project_id
-> Seq Scan on tbl_reimbursements (cost=0.00..459.51 rows=39 width=9)
Filter: ((status = ANY ('{2,3}'::integer[])) AND (project_id = ANY ('{3478,3464,3455,3454,3440,3439,3438,3437,3428,3398,3366,3363,3348,3309,3293,3280,3257,3256,3254,3244}'::integer[])))