SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '06709dabbe083330fe5058a9073f70d1a7c7b96e989582e2b2864bc9d21ce94a' 
  AND token = '/tvFP0W+4WH5Jp5dsY8AjeTxdwxrx8wu9OOTaVaGZmQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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