SELECT 
  1 
FROM 
  q_lock_keys 
WHERE 
  key_id = 'be81ddfe2ad838e145e876699622b27d1e3b5ed427368f9341d8d7c31762af34' 
  AND token = '6nPfHyji1GqCPyGPVpwMSsTAJJeR69SBLxOcZ9RzEP8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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