Cool quark matter with perturbative quark masses