QUERY PLAN
Aggregate (cost=12.38..12.39 rows=1 width=32)
-> Seq Scan on tbl_erp_cash_cost_tickets t (cost=0.00..12.38 rows=2 width=32)
Filter: (status = ANY ('{2,5}'::integer[]))