mysql: remove all spaces from values and change it to lower case