When you browse documentation MySQL versions are very precise listed .. 5.7.x and 8, while MariaDB is very vague as 10.x , means this, that I can use 10.5.x ? ( which I don't , because horrible performance ).
We are still on 10.3.x and would go to 10.4.x. if it's possible.
David