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

Query time 0.00039

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}