QUERY PLAN
Sort (cost=27.47..27.56 rows=35 width=76)
Sort Key: id
-> Seq Scan on tbl_erp_other_collect_ticket_payments (cost=0.00..26.57 rows=35 width=76)
Filter: (erp_other_collect_ticket_id = ANY ('{12,10,9,6,5,4,3,2,1}'::integer[]))