QUERY PLAN
Sort (cost=2.49..2.53 rows=16 width=56)
Sort Key: id
-> Seq Scan on tbl_erp_sales_gift_verify_rels (cost=0.00..2.17 rows=16 width=56)
Filter: ((status <> 0) AND (erp_sales_gift_id = ANY ('{16,17,15,14,13,12,11,10,9,8,7,6,5,4,3,2}'::integer[])))