A truck exploded near a restaurant in a town just north of Baghdad on Tuesday, killing five people and wounding 75, police said.