==>SELECT KeyPhrase as KPH, DomainID, TextID, IF((ROUND(RAND() * (3600*24*365)) < UNIX_TIMESTAMP(NOW()) - DateCreated),1,0) as aleatorio
FROM selfmodif_page_keyphrase
WHERE
( 0 or KeyPhrase = 'ważne telefony' ) AND
Lang = 'pl' AND
DateDeactivated = 0 AND
DomainID != 1515
AND DomainID NOT IN(454,439,553,467,1620)
ORDER BY OrderPriority, RAND() LIMIT 0,1000
ważne telefony Chiclana
(25061)