We studied the low-temperature specific heats of two antiferromagnets with the two-dimensional square-kagome structure, i.e., and , with the structural difference that there are interlayer ions in . Both materials show no magnetic ordering down to 50 mK. At zero field, the of has a finite value when the temperature is close to 0 K. Under the magnetic field, an apparent dependence appears and its coefficient is progressively suppressed by the field. For , the specific heat exhibits the dependence at zero field and under fields. The ratio of the quadratic coefficients of and at high fields is inversely proportional to that of the squared Weiss temperatures, which indicates these two compounds host the same ground state under fields. Our results suggest that the interlayer ions in play a negligible role in determination of its ground state. We discuss the possible quantum-spin-liquid states in these compounds and further directions to pursue based on our results.