Profitable mining despite high energy prices