SELECT 0, name, mesto_rab, * FROM users
INNER JOIN predprijatie ON users.mesto_rab = predprijatie.pred_id
WHERE (user_visible=1) AND (parent_id=0) AND (users_id = 34)
UNION
SELECT 1, name, mesto_rab, * FROM users
INNER JOIN predprijatie ON users.mesto_rab = predprijatie.pred_id
WHERE (user_visible=1) AND (parent_id=0) AND (users_id <> 34)
ORDER BY 1, 2 ASC, 3 ASC
Или без
UNION
SELECT * FROM users
INNER JOIN predprijatie ON users.mesto_rab = predprijatie.pred_id
WHERE (user_visible=1) AND (parent_id=0)
ORDER BY CAST( users_id - 34 AS BIT), name ASC , mesto_rab ASC