def METHOD_NAME(domain: str) -> GreenDomain:
    """
    Try a lookup against the Greendomains cache table, then
    fallback to doing a slower, full lookup, returning a
    "Greendomain" lookup.
    """
    if res := GreenDomain.objects.filter(url__in=domain):
        return res.first()
    if res := checker.perform_full_lookup(domain):
        return res