substring in mysql starts with 1