QUERY PLAN
GroupAggregate (cost=254.33..254.42 rows=5 width=12)
Group Key: project_id
-> Sort (cost=254.33..254.35 rows=5 width=8)
Sort Key: project_id
-> Seq Scan on tbl_cases (cost=0.00..254.28 rows=5 width=8)
Filter: (project_id = ANY ('{3805,3811}'::integer[]))