QUERY PLAN
Sort (cost=29.41..29.42 rows=1 width=56)
Sort Key: id
-> Seq Scan on tbl_erp_purchase_gift_verify_rels (cost=0.00..29.40 rows=1 width=56)
Filter: ((status = 0) AND (erp_purchase_gift_id = ANY ('{3,6,5,4,2,1}'::integer[])))