верно, используй ID из первого запроса
$Active = (update from tbname set Active =0 where Id=1);
$Activenext = (update from tbname set Active=1 where Active=0 and Id<>".$Active." order by id ASC limit 1);
Здесь он возьмет 2 ид и поставит ему 1.
а что будет в след запросе, когда актив уже равен 2?
$Active = (update from tbname set Active =0 where Id=2);
$Activenext = (update from tbname set Active=1 where Active=0 and Id<>".$Active." order by id ASC limit 1);
здесь же он может опять выбрать 1, которая уже была