QUERY PLAN
Sort (cost=22.81..22.82 rows=5 width=52)
Sort Key: id
-> Seq Scan on tbl_erp_wage_ticket_amount_payments (cost=0.00..22.75 rows=5 width=52)
Filter: (erp_wage_ticket_id = 5)