QUERY PLAN
Sort (cost=27.19..27.25 rows=26 width=52)
Sort Key: id
-> Seq Scan on tbl_erp_wage_ticket_amount_payments (cost=0.00..26.57 rows=26 width=52)
Filter: (erp_wage_ticket_id = ANY ('{4,3,2,5,1}'::integer[]))