Empirical relation between angular momentum transport and thermal-to-magnetic pressure ratio in shearing box simulations