The horses' hooves were one of the worst cases the RSPCA had seen 