QUERY PLAN
Sort (cost=22.92..22.94 rows=10 width=52)
Sort Key: id
-> Seq Scan on tbl_erp_wage_ticket_amount_payments (cost=0.00..22.75 rows=10 width=52)
Filter: (erp_wage_ticket_id = ANY ('{2,1}'::integer[]))