[mysql] Convert text into number in MySQL query