QUERY PLAN
Seq Scan on tbl_erp_inventory_product_sns (cost=0.00..2.01 rows=1 width=142)
Filter: ((id <> 68) AND (erp_inventory_product_id = 470) AND ((NOT is_used) OR (id = ANY ('{68,89,86}'::integer[]))))