Germany hasn't required FFP2 masks, the state of Bavaria did (which includes only 15% of the german population)
The shielding was just a pice a plastic hanging from the ceiling, not some kind of box. So the cashier was breathing the same air as everybody else.