SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c23ed3a58599146230bb096e8a11ce344cb6ec347869b606416deabf56a31ae9' 
  AND token = 'gvHrWobiLO2p+kFhYHl/SpygspaGEGmoWy1e+pDd6XU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00173

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}