Frequent flyer miles always refer to statute miles.
Btw, I went to Lufthansas miles calculator just to see if it gives you the correct amount of miles... and it doesn't. If you book FRA - BKK in P you get 5584 award miles, but the real distance is 5598 miles. A difference of (gasp) 14 miles. Hm...