duration is the actual time D1 took to execute your query, which is very low so indicates the problem isn't with D1 itself.fetch or similar?

ERR Request failed error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: dial tcp 172.17.0.5:80 durationcolo= ERR Request failed error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: dial tcp 172.17.0.5:80