Limited insert json data from mysql to 10 records