SELECT 
  1 
FROM 
  tmall_lock_keys 
WHERE 
  key_id = 'fd5d50bb1fc33400e437d0edde2571b46ee868991e913a6267d77835543feebd' 
  AND token = 'CALid/bnTA4+Ebf5jMi/sHbGCtkU7GFxlfVon0ButcY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00760

JSON explain

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