MySQL server has gone away
select * from pagetitle where param1 = 'profile' and param2 = '*' order by rand() limit 1