The RAM frequency is not directly tied to the CPU frequency and is less important than you think. Faster RAM would help a bit, but only a bit for most things. You could double the RAM frequency and get single digit % improvements in performance.
Mixing RAM kits is not recommended except for trying it with memory you already have. It is never guaranteed to work, so buying it with the expectation of it working can be rather disappointing. Even RAM of the same exact model and production line can fail to work together. Even ignoring that, there are more variables than just the brand, frequency, and type. A lot more 🙁
You've got capacity per module, capacity per chip, voltage, dozens of timings (latency settings), and more. Even worse, with timing settings, its not always about them being matching because with more sticks, some settings need to be loosened and you never know by how much without spending up to several hours trying different values and that's assuming the only thing stopping compatibility was the timings.
Sometimes, kits with different everything will even work together, and sometimes they will work together on one motherboard, but not on another. Its just about impossible to predict.