Ocorreu um erro ao executar a Query MySQL: select * from url_alias WHERE vari = ''palavras-do-bem'-e-o-novo-programa-produzido-pela-tv-cete' and vari != ''

Erro no MySQL: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'palavras-do-bem'-e-o-novo-programa-produzido-pela-tv-cete' and vari != ''' at line 1