SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4988c9be0d773afcac1cc913a5a5cfc05d6121963c8d80fa9384b98a9715d8f0' 
  AND token = 'OiD9Rws1ty9zoV8rAdwxa8dgihmYm1qLUOV9wt3l3LA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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