QUERY PLAN
Sort (cost=24.17..24.23 rows=23 width=76)
Sort Key: id
-> Seq Scan on tbl_erp_other_collect_ticket_payments (cost=0.00..23.65 rows=23 width=76)
Filter: (erp_other_collect_ticket_id = ANY ('{9,8,7,6,5,2}'::integer[]))