def METHOD_NAME(self):  # noqa: ANN001
    cursor = self._connection.execute(
        "SELECT refresh_token FROM tokens WHERE id=?", (self.key,)
    )
    result = cursor.fetchone()
    if result is None:
        raise KeyError
    return result[0]