QUERY PLAN
Aggregate (cost=1.63..1.64 rows=1 width=8)
-> Sort (cost=1.61..1.61 rows=1 width=56)
Sort Key: tbl_erp_other_income_ticket_verify_rels.id
-> Seq Scan on tbl_erp_other_income_ticket_verify_rels (cost=0.00..1.60 rows=1 width=56)
Filter: ((status = 0) AND (erp_other_income_ticket_id = 42))