QUERY PLAN
Sort (cost=437.91..437.91 rows=1 width=25)
Sort Key: id
-> Seq Scan on tbl_erp_cash_cost_ticket_verify_rels (cost=0.00..437.90 rows=1 width=25)
Filter: ((status = 0) AND (erp_cash_cost_ticket_id = 8474))