Hi Tomáš,
Yes MsMpEng.exe is an Anti Malware service for MS Defender. I would suggest try to update first your Windows Defender by opening your Windows Security then, Virus & Threat Protection then Check for Updates. After that run a Full Scan to your PC to check for malware or any unwanted programs that is possibly slowing down your PC.
Also, check your space and make sure that the free space is at least 20% of the total drive for optimum performance. To test further, you can try using reputable anti malware program to scan your PC.
If nothing is found, you can try to limit MS Defender's resource usage by toggling off Real Time protection. If you think that the file or folder is safe, you can try to add this to exclusions of MS Defender. But it is still best that MS Defender runs its default mode to ensure safety of your Operating System.
But it could be possible that your system is running slow because of the temperature on how your system is used and how optimized it is. So yes, cooling solution is another way of remedy to lower down temperature.