QUERY PLAN
GroupAggregate (cost=297.40..297.76 rows=18 width=36)
Group Key: project_id
-> Sort (cost=297.40..297.45 rows=18 width=9)
Sort Key: project_id
-> Seq Scan on tbl_reimbursements (cost=0.00..297.02 rows=18 width=9)
Filter: ((status = ANY ('{3,2}'::integer[])) AND (project_id = ANY ('{3817,3777,3783,3805,3811,3731,3819,3814,3786,3818}'::integer[])))