The form of the thermodynamic (pQCD) constraints that you listed is general, in the sense that any pQCD result can be plugged in for the H variables (the high density anchor).
It is also straightforward to add an accurate quark-mass dependence to an existing massless pQCD result, using the scheme here: https://journals.aps.org/prd/pdf/10.1103/PhysRevD.105.114005. This works because the quark-mass effects are small and can be included perturbatively in the pQCD region.
For example, I have a functioning code that uses the full N2LO massless pQCD pressure, plus the inclusion of quark mass effects (and also a color superconducting gap), and I’ve used it in conjunction with the thermodynamic constraints above in https://journals.aps.org/prl/pdf/10.1103/54g5-43nk
(This earlier work on color superconductivity also uses a massive result + a color superconducting gap: DOI: 10.1103/PhysRevLett.132.262701)