Great!, is better. Takes two seconds. Now, Options can or cant’t appear in the Where Clause. in Case that don’t appear the query takes a lot of time.
How do I cover all the cases? Must I create each of the indexes for each combination in the Where clause?