QUERY PLAN
Seq Scan on tbl_erp_inventory_product_sns (cost=0.00..2.54 rows=2 width=157)
Filter: (((NOT is_used) OR (id = ANY ('{51,52}'::integer[]))) AND (erp_inventory_product_id = 492))