The effect of an insoluble impurity, such as sand, on the observed melting point of a compound would be none. It will not depress or elevate the melting point of the compound. Instead, it would affect the reading if you are trying to determine the melting point of the compound. This is because you might be missing the actual melting point of the compound since you will be waiting for the whole sample to liquify. You would not be able to determine exactly that temperature because of the insoluble impurity would have a different melting point than that of the compound.