select id_element,
`table`,
param,
value_old,
FROM c_history
LEFT JOIN c_object ON c_object.id = c_history.id_element
LEFT JOIN c_user ON c_user.id = c_history.id_user
WHERE `table` = 'c_object' AND param = 'ids_user_merge'
SELECT
ch.id_element,
ch.`table`,
ch.param,
GROUP_CONCAT(cu.name) AS value_new
FROM
c_history ch
LEFT JOIN
c_object co ON co.id = ch.id_element
LEFT JOIN
c_user cu ON FIND_IN_SET(cu.id, ch.value_old)
WHERE
ch.`table` = 'c_object'
AND ch.param = 'ids_user_merge'
GROUP BY
ch.id_element, ch.`table`, ch.param;