The GTX 1050 is overall around 25% more powerful than the mx150.
The i5-8250u is an ultra low voltage CPU (that is what the "u" means) so it is actually not designed to run at high clock speeds for a long period of time. While that CPU can reach 3.4GHz, that is only for a very short period of time and only when the CPU does not exceed a certain temperature. Some reviews have shown that the CPU typically runs at around 2.4GHz to 2.6GHz when stressed to keep temperatures down. That is why "u" model CPUs are used in ultrabooks and other thin / light laptops.