SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '40084f704d3be51c4d612957d2e706afcc9fb9f81b822ff37004a2fe02b01fee' 
  AND token = 'gHNoR+3FPwvReePA1zzass/Mv6z8eYYDwVMMVY/GPp4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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