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