I discovered that the kind of join I proposed is called the leapfrogtriejoin: https://arxiv.org/pdf/1210.0481v5.pdf