SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cc5bead1cba41627e374b0137d7b04116ae79ced904ca1e68cf626a159ba9020' 
  AND token = 'TImac9hY2XTVf2iysTFeEcOh0sVMHwO7eu2cXRf3yZs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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