SELECT 
  1 
FROM 
  tmall_lock_keys 
WHERE 
  key_id = '9e59bcf4443a75f8d32d410190a464f3e88dbb32bbe45a82e0d48907df361fe2' 
  AND token = 'WPYfT5B00UM2aaaoGhTg6MEId04m9XYXOTxOcGyluV4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00749

JSON explain

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