SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9832bfaffd978dcd166726dceb27749726fa18a7a05b9b6bc93c16053f81e6bf' 
  AND token = 'szpucSwU1Za4uur4UcKSsM+wbHEfy8N2B+2W8gtF2HY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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