SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd265d308e92d6323072fd3d277b72db7df987c8b4bbab1afaa99a9defbee8626' 
  AND token = 'Tbjsi9XNhgMCjcpzEYRp7NICbRWRh4xZYua/4Cb40bk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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