QUERY PLAN
Sort (cost=39.75..39.95 rows=78 width=76)
Sort Key: id
-> Seq Scan on tbl_erp_cash_cost_ticket_sales_contract_settles (cost=0.00..37.30 rows=78 width=76)
Filter: (erp_cash_cost_ticket_id = ANY ('{7493,7392,7391,7390,7389,7388,7387,7386,7385,7384,7383,7382,7381,7380,7379,7378,7377,7376,7375,7374}'::integer[]))