Puoi usare una sottoselezione
select * from table where client_id in
(select distinct client_id from table order by client_id limit 5)
Puoi usare una sottoselezione
select * from table where client_id in
(select distinct client_id from table order by client_id limit 5)