SELECT c.nome AS dove, c.url_rewrite FROM comuni c WHERE REPLACE(c.nome, '-', ' ') = 'sarnano' OR c.url_rewrite = 'sarnano' LIMIT 0,1