SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '269f939ee38af4fbdd5da9766ba88cd602da68104223b41946286328c3427fe2' 
  AND token = 'gdjHeCelfeK+zQIAqzWzj2czyLUc2697mmDQnNyggZY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00066

JSON explain

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