SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5451f5336091c8e0985b51a415725aa88c8a7fe4ce248a7966adec232f56130e' 
  AND token = '7A/90H51g/iM04VbgT0XhT3jenw0YfejxnKqoRDs7jY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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