QUERY PLAN
Aggregate (cost=1.03..1.04 rows=1 width=32)
-> Seq Scan on tbl_erp_cash_cost_ticket_sales_contract_settles (cost=0.00..1.02 rows=1 width=5)
Filter: (erp_cash_cost_ticket_id = 8490)