QUERY PLAN
Aggregate (cost=1.73..1.74 rows=1 width=8)
-> Sort (cost=1.72..1.72 rows=1 width=56)
Sort Key: tbl_erp_purchase_gift_verify_rels.id
-> Seq Scan on tbl_erp_purchase_gift_verify_rels (cost=0.00..1.71 rows=1 width=56)
Filter: ((status = 0) AND (erp_purchase_gift_id = 26))