QUERY PLAN
Sort (cost=24.56..24.56 rows=1 width=56)
Sort Key: id
-> Seq Scan on tbl_erp_payment_ticket_verify_rels (cost=0.00..24.55 rows=1 width=56)
Filter: ((status = 0) AND (erp_payment_ticket_id = 2065))