QUERY PLAN
Seq Scan on tbl_cases (cost=0.00..273.13 rows=1 width=8)
Filter: ((case_status <> ALL ('{5,6}'::integer[])) AND (client_id = 90))