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,7359,7358,7357,7355,7354,7353,7352,7351,7350,7346,7347,7345,7344,7343,7342,7341,7340}'::integer[]))