SQL: improved performance when BETWEEN is used. Thanks to Fabrizio Fortino for the tip