SELECT * from users where id IN (10,20,30,40);
$users = User::whereIn('id', array(10, 20, 30, 40))->get();
$users = DB::table('users')->whereIn('id', array(10, 20, 30, 40))->get();