QUERY PLAN
GroupAggregate (cost=274.19..274.87 rows=38 width=12)
Group Key: client_id
-> Sort (cost=274.19..274.29 rows=40 width=8)
Sort Key: client_id
-> Seq Scan on tbl_cases (cost=0.00..273.13 rows=40 width=8)
Filter: (client_id = ANY ('{2806,46,402,3312}'::integer[]))