QUERY PLAN
GroupAggregate (cost=323.83..324.21 rows=19 width=36)
Group Key: project_id
-> Sort (cost=323.83..323.88 rows=19 width=9)
Sort Key: project_id
-> Seq Scan on tbl_reimbursements (cost=0.00..323.43 rows=19 width=9)
Filter: ((status = ANY ('{2,3}'::integer[])) AND (project_id = ANY ('{3950,3949,3953,3956,3945,3948,3927,3849,3951,3947}'::integer[])))