Avoid LIKEs in queries for number of points for given difficulty. Use index.