QUERY PLAN
Sort (cost=2.80..2.85 rows=20 width=72)
Sort Key: id
-> Seq Scan on tbl_erp_other_payment_ticket_amounts (cost=0.00..2.37 rows=20 width=72)
Filter: (erp_other_payment_ticket_id = ANY ('{46,38,34,26,25,24,23,22,21,20,19,18,17,16,15,14,13,12,11,10}'::integer[]))