SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9768e59f5bde38114ac6083d082d612382143d33348ecb7ae6a7e37f1cbdddda' 
  AND token = 'wApJnk2XYwTUJWdaG82YxueT+v6QUKPpK8te/Ys2MKM=' 
  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"
    }
  }
}