QUERY PLAN
Sort (cost=41.70..41.89 rows=76 width=52)
Sort Key: id
-> Seq Scan on tbl_erp_wage_ticket_amount_payments (cost=0.00..39.33 rows=76 width=52)
Filter: (erp_wage_ticket_id = ANY ('{16,15,14,13,12,11,9,8,7,6,5,4,3,2,1}'::integer[]))