SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '345ea2971460c1dfb7def4b7f4693063ca5fc849eed83fae6640f56bd3805165' 
  AND token = 'w0uN4dM4N3ueAtwQmTC3y5rxZZ5qSiwUuFq0Npe1vAU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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