$sql = "SELECT * FROM `variable` WHERE NAME LIKE '%amp_metadata_organization_logo%'";

$res = db_query($sql)->fetchAll();

echo '

';
print_r($res);
echo '

';
?>