SELECT a.slug, a.codigo FROM anuncios AS a WHERE a.slug_antigo='casa-imponente-e-moderna-no-bandeirantes' AND a.exibir=1 ORDER BY a.id ASC LIMIT 1