Is there only a ‘single’ occurence of the value 475.2 ?
As far as I understand the conversion of the since epoch value to date/time is in GMT/UTC format.
1651615125318 => GMT: Tuesday, 3. May 2022 21:58:45.318
that would => EEST: Wednesday, 4. May 2022 0:58:45.318
So the ESP part is irrelevant - you have an Item in openHAB that gets persisted.
Do you understand exactly when openHAB is persisting it? i.e. what persist strategy are you using.
I question that you do compare the data correctly.
The output of the REST API request to the influxDB shows a time and a value. You converted this time from msec to an human readable time in UTC.
How did you get the other time, in what format was it stored and what data is stored for this datapoint ( maybe an additional time and a value?).