Mysql match first n characters