Reproduces on master.

```
SELECT toDateTime64('2021-03-22', 3, 'Asia/Tehran')

Query id: 26f7c373-f473-4209-8976-6ada79a8627f

┌─toDateTime64('2021-03-22', 3, 'Asia/Tehran')─┐
│                      2157-04-28 06:28:16.000 │
└──────────────────────────────────────────────┘
```
{
        return LUTIndex{(d + daynum_offset_epoch) & date_lut_mask};
    }
    inline LUTIndex toLUTIndex(ExtendedDayNum d) const
    {
        return LUTIndex{static_cast<UInt32>(d + daynum_offset_epoch) & date_lut_mask};
    }
    inline LUTIndex toLUTIndex(Time t) const
    {
        return findIndex(t);
    }
    inline LUTIndex toLUTIndex(LUTIndex i) const
    {
        return i;
    }
    template <typename DateOrTime>
    inline const Values & find(DateOrTime v) const