Query Run
select sum(1) as n, sum(if(ipb_expiry = 'infinity', 1, 0)) as... 2 years ago
select max(ipb_id) from ipblocks ; 2 years ago