SELECT 
  1 
FROM 
  tmall_lock_keys 
WHERE 
  key_id = 'dec8f17fa62437ae8cc8d01ce3d9f2c0e63b175353fc5783a82f8fdde3e90154' 
  AND token = 'F1I6qps1eGJZeOPSWbWNHeiCVVoUwV6rbGltN6oDQhM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00780

JSON explain

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