SELECT 
  1 
FROM 
  q_lock_keys 
WHERE 
  key_id = '588a409c2bf269509a0e23281015f418d0c0dec72807e2c62a869383acd9f000' 
  AND token = 'nyzs2DZyw2i0ucslbXKSSVAYpAwz8qYbFBSHZ1xWjH4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}