Usa il LIMIT nella query, tipo LIMIT 0,10