Concentration is nothing but active mass.
Molar concentration is directly proportional to density. Over the course of a reaction the density of a solid or liquid reactant doesn't change . The mass and volume changes, but the ratio of the two is constant. As density of solid or liquid remains constant, the active mass is taken as 1 . Gases occupy the volume of their container, and if some gases are removed, concentration gets changed.
Always equilibrium constant K is the ratio of the concentration of product to the reactant. For solids and liquids the active mass is unity. As in the LHS side no other term is there.