25 and 5, and why the number barely matters
The Pomodoro technique is twenty-five minutes of work then a five-minute break, repeated, with a longer break every fourth round. That is the whole method.
The interval is not magic and it is not the point. What does the work is the commitment device: you have agreed with yourself that for twenty-five minutes the phone stays face down, and that a break is coming, so there is nothing to negotiate. If thirty-five suits your attention better, use thirty-five.