QUERY PLAN
Sort (cost=1.55..1.55 rows=1 width=56)
Sort Key: id
-> Seq Scan on tbl_erp_sales_gift_verify_rels (cost=0.00..1.54 rows=1 width=56)
Filter: ((erp_sales_gift_id = 17) AND (status = 0))