SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'caa5b9d6f0107bdf82cca9aa8ca89f9a617f4778ea3fb6f65094151710578432' 
  AND token = 'bnKR74l21ifvz75NPHJ24lVjU3cTL43uCjNJ/vKNJ9Q=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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