I filter my data in the callback of a load. Why filter data if the store isn't loaded yet?

I can't load all the data because there are thousands or even millions of rows in some tables. I must apply filtering before loading. That way I only need to fetch that one row, or some subset of rows from the database...