Comment on @Hubzilla Support Forum If you are under reliatively fresh MySQL 8 then try
@Max Kostikov have you tried index with workerq_priority and workerq_id only? All rows (except max worker count) will have workerq_reservationid NULL :thinking_face:
Yes, it seems everything works fine even without `worker_id`. Perhaps, to ensure compatibility with older versions of MySQL, you could also omit `DESC`.
workerq_idor withoutworkerq_reservationid?