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