Optimized number of queries in options forms