SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9e1d21865a78d851d70edeb62b741430723413e0d6100c28e3a03b76087bb18d' 
  AND token = 'DO2GsNzFVA55w8GWgTDAMgIuuKKodH9O2IIRe5oUhFg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}