QUERY PLAN
Sort (cost=1.41..1.41 rows=1 width=72)
Sort Key: id
-> Seq Scan on tbl_erp_other_payment_ticket_amounts (cost=0.00..1.40 rows=1 width=72)
Filter: (erp_other_payment_ticket_id = 30)