Configure view to select random rows from MySQL table