Constrain search list of numeric range based on url

Hello,

How can i make a constrain based on a list of numeric ranges? Right now it’s done by an advanced filtering, but i think that is slowing down the loading speed.

I have products that can only be showed when the zip code of the client meets the zipcode within the range of the seller.

So in the url there is for instance a zip code of 5000. A seller has saved a numeric range of 2000-6000, only then the product can be showed. And when the seller saved a numeric range of 1000-3000, the data should not be showed.
picture of the data:

image
And the constrain: