No, quello è il classico esempio babano di mysql.org

"SELECT id FROM tabella WHERE LENGTH(campo_testo) < 300"

dovrebbe andare più che bene