The moment of inertia of a substance is given by
$$I = \int r^2 dm \tag{1}$$
The immediate conclusion you can infer from the above formula is that moment of inertia does not depend on the elasticity of the object, it only depends on the mass distribution.
Intuitively, the yolk (yellow part) is denser than the albumin (white part) of the egg. The albumin being a liquid allows the yolk to move around as the egg rotates. Therefore, the moment of inertia of an unboiled egg is variable.
When you rotate the egg, the centrifugal forces push the yolk towards the exterior. From equation $(1)$, you can claim that the moment of inertia of the egg increases. However, the albumin needn't necessarily move along with the shell. This would complicate the process. After a sufficiently long time, the albumin will move in sync with the shell. It is only here we can make a definite calculation of moment of inertia. Therefore, there could be a chance that the unboiled egg would make it to the bottom quicker than the boiled egg.
In the case of a boiled egg, the yolk cannot move around. The yolk is fixed to a particular position. The position of the yolk decides the moment of inertia. If the yolk is centered around the axis of rotation of the egg, the moment of inertia will be lower. If the yolk is at the walls of the egg, the moment of inertia will be higher.
There is no definitive answer to this question. It depends on the mass distribution of the contents of the egg.