QUERY PLAN
Aggregate (cost=8.62..8.63 rows=1 width=8)
-> Sort (cost=8.60..8.61 rows=1 width=56)
Sort Key: tbl_erp_sales_gift_verify_rels.id
-> Seq Scan on tbl_erp_sales_gift_verify_rels (cost=0.00..8.59 rows=1 width=56)
Filter: ((status = 0) AND (erp_sales_gift_id = 132))