QUERY PLAN
Seq Scan on tbl_erp_inventory_product_spents (cost=0.00..3.81 rows=25 width=161)
Filter: (erp_sales_gift_spent_product_id = ANY ('{7,9,10,11,12,13,14,15,16,17,21,22,23,24,25,26,27,28,29,30,36,37,38,39,41}'::integer[]))