Each span carries its own start and end timestamp, so comparing a child's duration with the trace's shows which step the latency sits in — here the database call accounts for most of it. Why it is slow is a further question a single trace cannot answer; parallelism has to be read off the timeline rather than assumed; and a span's duration is wall-clock, waiting included.
Official docs