SELECT 
  1 
FROM 
  q_lock_keys 
WHERE 
  key_id = 'a4cccfb26176865ef21a2a13800775c3ea252f18d70bbaee815e774a6bb49b23' 
  AND token = 'F1T8bZoJ8JRCeevGvWTDPoKJFRopyubSOwp+TxpOQV8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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