TSQL - Query processor could not produce a query plan because of the hints defined in this query