cache select * LIMIT X when limit hasnt been reached