I\'ve found this Blog post that shows a way to grab a random rows from a table : http://www.rndblog.com/how-to-select-random-rows-in-mysql/
I used it in a heavy delete q
This is an example to use clause WHERE with RAND in mySQL:
SELECT * FROM t1 WHERE status = 1 ORDER BY RAND() LIMIT 2;