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 ('{7360,7362,7361,7357,7359,7358,7350,7349,7332,7331,7348,7,6,5,7330,7329,7328,7327,7326,7325}'::integer[]))