kolumnen som du behöver bör vara inom selectRaw, som:
$topsearches = DB::table('searchkeywords')
->selectRaw('query,id,created,count(*) as count')
->havingRaw('count(*) > 3')
->orderBy('created', 'DESC')
->groupBy('query')
->paginate(15);