SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ec7342673f812ffc1b72b19014f06908be2a61bee52ebbe274f874a84de6b0d5' 
  AND token = 'dqq4p0UvP0sH8lCF24cNKP1HCG0e+fsx5hXA7HLRsyU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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