QUERY PLAN
Sort (cost=3.53..3.61 rows=31 width=25)
Sort Key: id
-> Seq Scan on tbl_erp_purchase_gift_verify_rels (cost=0.00..2.76 rows=31 width=25)
Filter: ((status <> 0) AND (erp_purchase_gift_id = ANY ('{27,26,25,24,23,22,21,20,19,18,17,16,15,14,13,12,11,10,9,8}'::integer[])))