You just need to summarize the difficulties in this case,
map<int, map<int, int>> data;
const auto& lookup = data[5];
int value lookup2 = lookup[3];
So this is O (logn) + O (logn) = O (klogn) = O (logn).
It will be O (logn) also in the case map<int, map<int, map<int, map<int, ..and so on, because the number of nested levels is independent of N, but they are always constant.