You can simplify this code slightly by providing getattr with a default variable.

    return getattr(settings, self.mutex_ttl_seconds_settings_key, 30 * 60)

Or, what I would prefer:

    return getattr(settings, self.mutex_ttl_seconds_settings_key, timedelta(minutes=30).total_seconds())

Pick your favorite color.