QUERY PLAN
Sort (cost=24.32..24.36 rows=15 width=52)
Sort Key: id
-> Seq Scan on tbl_erp_wage_ticket_amount_payments (cost=0.00..24.02 rows=15 width=52)
Filter: (erp_wage_ticket_id = ANY ('{3,2,1}'::integer[]))