QUERY PLAN
Aggregate (cost=23.97..23.98 rows=1 width=32)
-> Seq Scan on tbl_erp_cash_cost_ticket_bank_outs (cost=0.00..23.96 rows=1 width=5)
Filter: (erp_cash_cost_ticket_id = 8490)