QUERY PLAN
Sort (cost=1.67..1.68 rows=1 width=49)
Sort Key: id
-> Seq Scan on tbl_erp_cash_cost_ticket_purchase_contract_settles (cost=0.00..1.66 rows=1 width=49)
Filter: (erp_cash_cost_ticket_id = 8471)