SELECT id, codice, immagine , permalink , (SELECT titolo_it FROM categorie WHERE id = prodotti.categoria_1 LIMIt 1) as titolo FROM prodotti WHERE attivo = 'on' AND pubblico = 'on' AND (categoria_1 = 46 OR categorie LIKE '%,46,%') ORDER BY ordine DESC LIMIT 0,24