Model::select('column')
->where('column','value')
->inRandomOrder()
->limit(2) // here is yours limit
->get();
ModelName::where('column',$condition)->random($number)->get();
Model::where('column',$condition)->random($number)->get();