I was found solution:
MySQL (Content of Store Procedure):
Set @tmp = 0;
Select `field_1`, `field_2` From `table_1` Where @tmp := @tmp + 1 LIMIT 0 ,5;
// We have row set and in session variable (@tmp) - number of returned rows
@TIP
@tmp := @tmp + 1
It's Must be before all conditions in where.
For example:
[.....] Where @tmp := @tmp + 1 And `field_2` > 1 LIMIT 0, 5;
Will return always 1...
Correct Version
[.....] Where `field_2` > 1 And [Other conditions] And @tmp := @tmp + 1 LIMIT 0, 5;