I have a 2009 Mercedes SLK that had the same symptom. It was absolutely fine 99.9% of the time, but one time in a thousand it wouldn't even try to start. No clicks, no indication that it even knew I was in there turning the key. Just dead. And then seven or eight hours later... it would start fine, as if nothing ever happened. Couldn't correlate it to anything.
Had it towed to a service center a few times when this happened. Every time, by the time they got around to trying it (a few hours later)... it would start fine, with nothing to diagnose.
Then, it was 99% of the time it was fine. I was with a group of folks car-camping off road to fly a human powered airplane for a couple days, and... no start. Finally started -- with no sign of any problems -- around noon the next day, and I high-tailed it out of there a day before the rest of the group, because getting stuck there /after/ the rest of the group would have started pushing my comfort level. So at this point it's actually interfering with my life.
I've tried all the usual stochastic troubleshooting (swapping out fuses, light to moderate percussive maintenance, alternate keys) and nothing. Finally it fails to start in my driveway, and I get it towed to an independent mechanic. It's short tow, and it fails to start when it gets there! So now he's seen the problem, and is as puzzled as I am. Of course, when he tries again the next morning, it starts fine.
He proposes two possible fixes: replacing some ECU module, or replacing the fuse box itself (under the theory that it's the connector or connection into the bottom of the fuse box that is having some moisture ingress or intermittent connection). Of course whatever we choose, I won't know if it was right or not until the next time I'm stuck. The ECU is multiple thousands of dollars, and the fuse box is This was six or seven years ago, and that car is still my main and only car. Hasn't had a single mechanical issue since swapping out that fuse box. A good independent mechanic and a good guess!