Query refresh for text parameter



When I add a text paramter for query filter condition, entire query is executing again and fetching output is extremely slow , unlike dropdown filter where values are already coming from executed output.
What can we do to improve the performance or fetching the query from cached data when we use text parameter filter.