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 ('{7350,7347,7348,7354,7355,7353,7352,7351,7346,7345,7344,7343,7342,7341,7340,7339,7338,7337,7336,7335}'::integer[]))