QUERY PLAN
GroupAggregate (cost=288.48..288.57 rows=5 width=12)
Group Key: project_id
-> Sort (cost=288.48..288.50 rows=5 width=8)
Sort Key: project_id
-> Seq Scan on tbl_cases (cost=0.00..288.43 rows=5 width=8)
Filter: (project_id = ANY ('{4179,3703}'::integer[]))