QUERY PLAN
Sort (cost=2.37..2.41 rows=16 width=72)
Sort Key: id
-> Seq Scan on tbl_erp_other_payment_ticket_amounts (cost=0.00..2.05 rows=16 width=72)
Filter: (erp_other_payment_ticket_id = ANY ('{16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1}'::integer[]))