QUERY PLAN
Sort (cost=1.57..1.58 rows=1 width=76)
Sort Key: id
-> Seq Scan on tbl_erp_cash_cost_ticket_purchase_contract_settles (cost=0.00..1.56 rows=1 width=76)
Filter: (erp_cash_cost_ticket_id = 8487)