1 Your mission
make the new grain land only on the robot (and its shadow), not again on the plate
2 Why it works
Symptom: the sand looks noisier than the raw plate, while the robot looks perfectly smooth, like plastic. Here the plate already has camera grain (the "Camera grain" node stands in for it) and the CG has none, so only the pixels replaced by CG should be regrained.
The Keymix applies grain through a mask, but someone inverted the mask. The new grain lands on the plate (two equal layers of grain are about 1.41× stronger) and none on the robot. Check r, g and b on the sand, comparing "Merge over" with "Keymix (regrain)".
two equal, independent grains: √2 ≈ 1.41× strongerWhere the numbers come from: Keymix is checked against node-based compositing software; Grain is a teaching version (per-channel noise added to every pixel, unlike Nuke’s Grain2, which by default adds none where alpha is 0). Two independent grains combine as √(a² + b²), so two equal ones are √2× stronger: standard noise maths.