where('account_tokens.user_id', '=', $userId) ->whereNull('account_tokens.deleted_at');; return $query->select('account_tokens.public_id', 'account_tokens.name', 'account_tokens.token', 'account_tokens.public_id', 'account_tokens.deleted_at'); } }