Update DatabaseStorage.java

Better performance for MySQL