a dire dal limit è mysql.

non si chiama "len", la funzione, si chiama "length"

select * from test where length(nome)=10