Four 12-year-old girls have suffered potentially life-changing burns after a fire broke out in a fast food restaurant.