Fai una query che è meglio.

select campo from tabella order by rand() limit 0,1