Added: Extra index to device_values_log table to speed up queries, thanks PixelMagic!