SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a871414a995cc4e5266cd0b2396c89897fddf6d628d053cd23a46bd27b767d5e' 
  AND token = 'OEyOr2ErSyZimv+3yznBRB8XWapo3uXoJ4bSw5L+3c4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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