Instantaneous speed is the speed of a body at a given point and average speed is the summation of speeds at all the points divided by total time.
Therefore, instantaneous speed and average speed can be equal only when body is moving with a uniform speed.