Go to your savegames folder (usually C:\Users[username]\Documents\My Games\FarmingSimulator2022) and delete all the files in shader_cache folder. Restart the game. After a few minutes, lag should disappear.
If that doesn’t work, check for mod conflicts.