QUERY PLAN
GroupAggregate (cost=420.10..420.83 rows=36 width=36)
Group Key: project_id
-> Sort (cost=420.10..420.19 rows=37 width=9)
Sort Key: project_id
-> Seq Scan on tbl_reimbursements (cost=0.00..419.14 rows=37 width=9)
Filter: ((status = ANY ('{2,3}'::integer[])) AND (project_id = ANY ('{3959,3955,3880,3878,3854,3796,3956,3945,3953,3927,3951,3950,3947,3949,3948,3849,3939,3936,3941,3940}'::integer[])))