On a special class of locally compact rings