QUERY PLAN
Result (cost=466.03..466.04 rows=1 width=1)
InitPlan 1 (returns $0)
-> Seq Scan on tbl_erp_cash_cost_tickets (cost=0.00..466.03 rows=1 width=0)
Filter: ((purchase_contract_id = 4482) AND (status = 1))