SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c005ec630eb450e97d9e2e04d922706e9b0f961b7673bddc0f3136d095a85e96' 
  AND token = 'pH9LO1nLQTtr3fYGH7TkxNxcO5d+oMssaIgUotwslRg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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