Added index to improve query to retrieve local_cpu_records