The pet boosts randomly on any earned tokens, so it can't be controlled or improved much. You will always find low token amounts while mining, which can't be prevented.
The only thing you can do is to get a legendary pet and try to level it up as much as you can so it boosts more often.