QUERY PLAN
Seq Scan on tbl_erp_inventory_product_sns (cost=0.00..2.54 rows=6 width=157)
Filter: (((NOT is_used) OR (id = 36)) AND (erp_inventory_product_id = 470))