Your call, but I read better like this:
tld = '_' + tld;
useCaseObject.key += tld;
if (useCaseObject.secondaryKey) {
    useCaseObject.secondaryKey += tld;
}