QUERY PLAN
Sort (cost=2.27..2.35 rows=31 width=34)
Sort Key: id
-> Seq Scan on tbl_erp_wage_ticket_amounts (cost=0.00..1.50 rows=31 width=34)
Filter: (erp_wage_ticket_id = ANY ('{5,4,3,2,1}'::integer[]))