Comment on @Hubzilla Support Forum If you are under reliatively fresh MySQL 8 then try
@Max Kostikov ah... that is somehow suprising...
Anyway, i think i will go with
Anyway, i think i will go with
ALTER TABLE workerq
ADD INDEX idx_claim (
workerq_reservationid,
workerq_priority DESC,
workerq_id ASC
); as you suggested first.