CREATE INDEX idx_daily_mileage_open_latest
    ON vehicle_daily_mileage(vin, protocol, stat_date);
