mmm... prova così (ovviamente modificando i nomi di campi e tabelle con quelli opportuni...):
Codice:
SELECT
p.product_id
AS id_p,
p.product_title
AS nome_p,
GROUP_CONCAT(DISTINCT CAST(cp.platform_data_pid AS CHAR(1000) CHARACTER SET utf8) SEPARATOR ',')
AS id_c_string,
GROUP_CONCAT(DISTINCT c.cat_name SEPARATOR ',')
AS nomi_c_string
FROM
prodotti AS p
INNER JOIN
categorie_prodotti AS cp ON (p.product_id=cp.product_data_cid)
INNER JOIN
categorie AS c ON (c.cat_id=cp.platform_data_pid)
GROUP BY c.cat_id
HAVING find_in_set($id_categoria_dinamico, id_c_string)