Then the issues has nothing to do with the code you posted. Either the connection to the database or something elsewhere in your app. Do you have DB::listen() anywhere?
Is it slow if you do DB::table('users')->get()?
If that is also slow, is the database on an external server?