CCleaner deletes files from "C:\ProgramData\Microsoft\Windows Defender\Scans\History\Results\Quick". After I restart the system, Windows Defender asks to run a quick scan again. I think deleting of these files should be excluded.
Maybe. Although it isn't breaking Defender which is why I sometimes have CCleaner delete those after my system has generated allot of them for several months, and a quick scan doesn't take that long at least in my case it's always under one minute.
It's correct that if there are no scan results at all then Defender assumes that a scan has never been run on your machine, and so asks to run one when you boot or restart.
I'm with Andavari, leave the option unticked in reguar use and just run it once in a while when the Defender scan logs have built up.
(You can right-click the option to run a one-off clean, rather than having to tick it, clean, then untick it again).
If you do leave the option ticked then you can just start a Defender scan and then carry on with whatever you are doing as Defender does a scan in the background.