QUERY PLAN
Seq Scan on tbl_erp_inventory_product_sns (cost=0.00..1.81 rows=1 width=142)
Filter: (((NOT is_used) OR (id = 57)) AND (erp_inventory_product_id = 525))