that's when/where; not so fastThe particle -то adds emphasis. In the expression не тут-то было, it means that something did not go as expected: “not so fast” or “no such luck.”
RU: Я думал, что всё закончилось, но тут-то всё и началось.
EN: I thought it was all over, but that's when it all began.