@Htahayou can stack all variants of MS225 switches with each other and also with MS210 switches. We have stacks of MS225 48 port switches mixed with MS210 24 port and MS210 48 port ones (all with PoE but that doesn't matter). They work absolutely fine together.
If my answer solves your problem please click Accept as Solution so others can benefit from it.