with consulta as (
select
GROUP_CONCAT(motivo SEPARATOR ';') as motivos,
GROUP_CONCAT(numero SEPARATOR ';') as numeros
from (
select count(*) as numero, motivo from motivos
group by motivo order by numero desc limit 5
) tmp
)
select motivos from tmpconsulta
union
select numeros from tmp;consulta;