It may be oddly described in a way, but you don't have to ACTUALLY be attacking someone for 5 seconds straight for the bonus damage to stack up to that amount; Not if what I read what 'in combat' is supposed to mean. 'In combat' should mean ANY damage dealt or taken within 5 seconds(against champs for the sake of the Mastery). Once neither has happened after 5 seconds, you should effectively be 'out of combat/roaming', and with it the bonus resets. So... In theory, you SHOULD only need to poke a champ once, keep distance for about 2-3 seconds, and then go deep before the timer resets.
Basically, it's the safest of the trio with the only downside being that it takes a moment to kick in fully; Bounty Hunter requires that you kill at least 3 different enemy champs for it to sorta break even and therefore requires better planning and coordination; While Doube-Edge constantly gives you a steady bonus with a steady weak spot.