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 ('{7494,7493,7398,7397,7396,7395,7394,7393,7392,7391,7390,7389,7388,7387,7386,7385,7384,7383,7382,7381}'::integer[]))