select @i:=0;
select * from (
select @i:=@i+1 as i, t.* from tab as t order by sloupec5, sloupec3 desc
) as temp where a=2 and b=3 and c=3
select @i:=0;
select * from (
select @i:=@i+1 as i, t.* from tab as t order by sloupec5, sloupec3 desc
) as temp where a=2 and b=3 and c=3