The Euclidean theory of proportion appears to speak against the ancient use of speed as a quotient between distance and time. Ratios, or proportions, according to that theory, were seen as legitimate only if they were established between quantities of like kind -- we might say, similarly dimensioned.
Explanation is given for example by N Guicciardini in "Mathematics and the New Sciences", chapter 8, (esp. sec. 8.3.2) in 'Oxford Handbook of the History of Physics' ed J Buchwald et al., 2013. Guicciardini wrote (in the context of discussing the heritage of antiquity still operative down ro the time of Galileo):
Since antiquity, continuous magnitudes had been approached through the
theory of proportions, codified in Book 5 of Euclid’s Elements. [...]
Note that the theory of proportions does not allow the formation of a
ratio between two heterogeneous magnitudes. This is particularly
important for kinematics, since it is not possible, for instance, to
define speed as a ratio between distance and time.
And
The relationship between time, distance and speed in equable motion
might {now} be expressed as
s = v · t.
This was not possible within the framework of the theory of
proportions, since one had to express a magnitude, speed, as being
equal to the ratio between two heterogeneous magnitudes, distance and
time. One has instead to state a series of proportions allowing only
two of the three magnitudes involved (distance, time and speed) to
vary.
What happened was that a kind of circumlocution was in use : (from the same source):
‘when the speed is the same and we compare two equable motions the
distances are as the times’:
s1/s2 = t1/t2,
where s1 (s2) is the distance covered in time t1 (t2). Or, ‘when the
distance covered is the same, the speeds are as the times inversely’:
v1/v2 = t2/t1.
It looks as though this doctrine had a considerable constraining effect on the ways in which motion might be conceptualised. The inhibitions appear to have lasted until the 17th century. According to Guicciardini in the work cited above, "Descartes’ geometry replaced the theory of proportions". It seems to have been then that more flexible patterns of thought about motion, including velocity, gained currency and accessibility.
(Some evidence in support of this late date for clear thinking about velocity comes from old works of astronomy, especially tables of motions. There are clear signs in many of them that motion and position were not clearly distinguished from each other. There was for example a concept of 'mean motion' that -- from the evidence of the numbers associated with it -- covered both place at a given point in time, and change of place in a given increment of time.)
(edit:) About the Babylonian astronomy: there may be evidence in the cuneiform tablets that the Babylonian astronomers expressly considered speed. Modern knowledge of this, however, dates only from the late 19th and early 20th century. The Greeks obtained some numerical parameters from ultimately Babylonian sources. It's not clear how much they obtained besides some numerical relationships that we might express as ratios, but they expressed as pairs of numbers of events of different types happening in the same interval of time.