QUERY PLAN
Sort (cost=834.42..834.55 rows=51 width=25)
Sort Key: id
-> Seq Scan on tbl_erp_cash_cost_ticket_verify_rels (cost=0.00..832.98 rows=51 width=25)
Filter: ((status <> 0) AND (erp_cash_cost_ticket_id = ANY ('{7493,7393,7392,7391,7390,7389,7388,7387,7386,7385,7384,7383,7382,7381,7380,7379,7378,7377,7376,7375}'::integer[])))